#!/usr/local/bin/perl -w
use strict;
use DBI;
my $host='localhost';
my $port=6100;
my $dbh = DBI->connect(
  "dbi:Gigabase:host=$host;port=6100",
    "guest", "guest",{AutoCommit=>1}) 
   || die ;
if ($dbh->ping) { print "connection is alive\n";}
else {
 print "connection die :(\n";
}
$dbh->disconnect;
print "disconnected\n";
